Skip to main content
Version: 3.8

Payment Gateway

A payment gateway facilitates secure transfer of payment details between customers and merchants, ensuring smooth and safe online transactions by linking various payment methods (e.g., debit/credit cards, digital wallets) with merchant websites or applications.

THAPIM supports two payment gateways, which are listed below.

  • RazorPay.
  • Strip.

Configure Razorpay

  1. Navigate to the Global Configuration module's Payment Gateway sub-module.

paymentgateway

  1. Enable the Payment Gateway toggle.
info

Online payment methods can only be configured when the Payment Gateway toggle is enabled.

paymentgateway1

  1. Click Setup.

The setup screen appears as shown below.

paymentgateway2

  1. Enter the Title and Description.

  2. Enter the API Key and API Secret Key.

  3. Click Save.

On saving, the confirmation message appears as shown below.

  1. Click OK.

The Webhook Endpoints section appears as shown below.

paymentgateway4

caution
  • Configure the Webhook to the Razorpay account using the instructions in the image above.

  • The Payment gateway cannot be activated unless Webhook is configured to the Razorpay account.

  1. After configuring the Webhook and Secret to your Razorpay account, enable the toggle to activate it.

paymentgateway5

On proceeding, the confirmation message appears as shown below.

  1. Click OK.
info

paymentgateway7

  • Click the Edit icon to modify the payment gateway details.

  • Click the Delete icon to delete the added payment gateway if necessary.

You cannot edit/delete the payment gateway when it is in an active state; please ensure that the payment gateway is in an inactive state before editing/deleting it.

Configure Stripe

  1. Navigate to the Global Configuration module's Payment Gateway sub-module.

paymentgatewayst

  1. Enable the Payment Gateway toggle.
info

Online payment methods can only be configured when the Payment Gateway toggle is enabled.

paymentgatewayst1

  1. Click Setup.

The setup screen appears as shown below.

paymentgatewayst2

  1. Enter the Publisher Key and Secret Key.

  2. Click Save.

On saving, the confirmation message appears as shown below.

  1. Click OK.

  2. After configuring the Publisher Key and Secret Key to your Stripe account, enable the toggle to activate it.

paymentgatewayst4

On proceeding, the confirmation message appears as shown below.

  1. Click OK.
info

paymentgatewayst6

  • Click the Edit icon to modify the payment gateway details.

  • Click the Delete icon to delete the added payment gateway if necessary.

You cannot edit/delete the payment gateway when it is in an active state; please ensure that the payment gateway is in an inactive state before editing/deleting it.